<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class modele_tag | pwe-project</title>

	<script type="text/javascript" src="resources/combined.js?682347548"></script>
	<script type="text/javascript" src="elementlist.js?1761807718"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-API.html">API</a>
						</li>
				<li class="active"><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li><a href="package-PWE.html">PWE<span></span></a>
						<ul>
				<li><a href="package-PWE.bdd.html">bdd</a>
						</li>
				<li><a href="package-PWE.controler.html">controler</a>
						</li>
				<li><a href="package-PWE.modele.html">modele<span></span></a>
						<ul>
				<li><a href="package-PWE.modele.menu.html">menu</a>
						</li>
							</ul></li>
				<li><a href="package-PWE.tools.html">tools</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-controler_rooter.html">controler_rooter</a></li>
				<li><a href="class-controler_translate.html">controler_translate</a></li>
				<li><a href="class-modele_newsletter.html">modele_newsletter</a></li>
				<li class="active"><a href="class-modele_tag.html">modele_tag</a></li>
				<li><a href="class-modules_cvtheque_candidat.html">modules_cvtheque_candidat</a></li>
				<li><a href="class-modules_cvtheque_competence.html">modules_cvtheque_competence</a></li>
				<li><a href="class-modules_cvtheque_experience.html">modules_cvtheque_experience</a></li>
				<li><a href="class-modules_cvtheque_formation.html">modules_cvtheque_formation</a></li>
				<li><a href="class-modules_cvtheque_metier.html">modules_cvtheque_metier</a></li>
				<li><a href="class-modules_cvtheque_permis.html">modules_cvtheque_permis</a></li>
				<li><a href="class-modules_societe_employe.html">modules_societe_employe</a></li>
				<li><a href="class-modules_societe_societe.html">modules_societe_societe</a></li>
				<li><a href="class-tools_device.html">tools_device</a></li>
			</ul>





			<h3>Functions</h3>
			<ul>
				<li><a href="function-__autoload.html">__autoload</a></li>
				<li><a href="function-clean.html">clean</a></li>
				<li><a href="function-cleanString.html" class="invalid">cleanString</a></li>
				<li><a href="function-generateItem.html">generateItem</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-None.html" title="Summary of None"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
			<li>
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
			</li>
			<li>
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
			</li>
		</ul>
		<ul>
			<li>
				<a href="pwe-project-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
			</li>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class modele_tag</h1>


	<div class="description">
	
<p>gestion des tag des publications</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-modele.html"><span>modele</span></a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
			<a href="class-modele_category.html"><span>modele_category</span></a>
			
			
			
		</dd>
		<dd style="padding-left:60px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>modele_tag</span></b>			
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		

				<b>Author:</b>
				Gmax<br />
		<b>Located at</b> <a href="source-class-modele_tag.html#3-170" title="Go to source code">engine/class/modele/tag.class.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-modele_tag.html#12-14" title="Go to source code">__construct</a>( <span>mixed <var>$id</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele_category.html#___construct">modele_category::__construct()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="addPublication" id="_addPublication">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_addPublication">#</a>
		<code><a href="source-class-modele_tag.html#16-29" title="Go to source code">addPublication</a>( <span>integer <var>$publication_id</var> = <span class="php-num">0</span></span>, <span>integer <var>$order</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
<p>ajoute une publication au tag</p>

		</div>

		<div class="description detailed hidden">
			
<p>ajoute une publication au tag</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$publication_id</var></dt>
					<dd><code>integer</code><br>$publication_id</dd>
					<dt><var>$order</var></dt>
					<dd><code>integer</code><br>$order</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="removePublication" id="_removePublication">

		<td class="attributes"><code>
			 public 
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_removePublication">#</a>
		<code><a href="source-class-modele_tag.html#31-40" title="Go to source code">removePublication</a>( <span>integer <var>$publication_id</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
<p>suprime une publication du tag</p>

		</div>

		<div class="description detailed hidden">
			
<p>suprime une publication du tag</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$publication_id</var></dt>
					<dd><code>integer</code><br>$publication_id</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getNombrePublications" id="_getNombrePublications">

		<td class="attributes"><code>
			 public 
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getNombrePublications">#</a>
		<code><a href="source-class-modele_tag.html#42-49" title="Go to source code">getNombrePublications</a>( <span>boolean <var>$public</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
<p>renvoi le nombre d'articles rattachés à ce tag</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi le nombre d'articles rattachés à ce tag</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$public</var></dt>
					<dd><code>boolean</code><br>$public</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br />
				</div>



				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele_category.html#_getNombrePublications">modele_category::getNombrePublications()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getPublications" id="_getPublications">

		<td class="attributes"><code>
			 public 
			<code><a href="class-modele_publication.html">modele_publication</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getPublications">#</a>
		<code><a href="source-class-modele_tag.html#51-83" title="Go to source code">getPublications</a>( <span>integer <var>$start</var> = <span class="php-num">0</span></span>, <span>integer <var>$limit</var> = <span class="php-num">0</span></span>, <span>boolean <var>$public</var> = <span class="php-keyword1">false</span></span>, <span>boolean <var>$desc</var> = <span class="php-keyword1">true</span></span>, <span>timestamp <var>$startDate</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
<p>renvoi la liste des article attachés à ce tag</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi la liste des article attachés à ce tag</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$start</var></dt>
					<dd><code>integer</code><br>$start</dd>
					<dt><var>$limit</var></dt>
					<dd><code>integer</code><br>$limit</dd>
					<dt><var>$public</var></dt>
					<dd><code>boolean</code><br>$public</dd>
					<dt><var>$desc</var></dt>
					<dd><code>boolean</code><br>$desc</dd>
					<dt><var>$startDate</var></dt>
					<dd><code>timestamp</code><br>$startDate //timestamp</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-modele_publication.html">modele_publication</a></code></code><br />
				</div>



				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele_category.html#_getPublications">modele_category::getPublications()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="delete" id="_delete">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_delete">#</a>
		<code><a href="source-class-modele_tag.html#85-100" title="Go to source code">delete</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele_category.html#_delete">modele_category::delete()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="checkTagPublication" id="_checkTagPublication">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_checkTagPublication">#</a>
		<code><a href="source-class-modele_tag.html#103-117" title="Go to source code">checkTagPublication</a>( <span>integer <var>$tag_id</var> = <span class="php-num">0</span></span>, <span>integer <var>$publication_id</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
<p>vérifie l'existence d'une relation publication&lt;-&gt;tag</p>

		</div>

		<div class="description detailed hidden">
			
<p>vérifie l'existence d'une relation publication&lt;-&gt;tag</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$tag_id</var></dt>
					<dd><code>integer</code><br>$tag_id</dd>
					<dt><var>$publication_id</var></dt>
					<dd><code>integer</code><br>$publication_id</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getPrimaryListe" id="_getPrimaryListe">

		<td class="attributes"><code>
			 public static
			<code><a href="class-modele_tag.html">modele_tag</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getPrimaryListe">#</a>
		<code><a href="source-class-modele_tag.html#118-136" title="Go to source code">getPrimaryListe</a>( <span><code><a href="class-modele_tag.html#$type">modele_tag::<var>$type</var></a></code> <var>$start</var> = <span class="php-num">0</span></span>, <span>mixed <var>$limit</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
<p>renvoi la liste des tag</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi la liste des tag</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$start</var></dt>
					<dd><code><code><a href="class-modele_tag.html#$type">modele_tag::<var>$type</var></a></code></code><br>$start</dd>
					<dt><var>$limit</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-modele_tag.html">modele_tag</a></code></code><br />
				</div>



				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele_category.html#_getPrimaryListe">modele_category::getPrimaryListe()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getListe" id="_getListe">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getListe">#</a>
		<code><a href="source-class-modele_tag.html#137-139" title="Go to source code">getListe</a>( <span>mixed <var>$start</var> = <span class="php-num">0</span></span>, <span>mixed <var>$limit</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele_category.html#_getListe">modele_category::getListe()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getListeByPublication" id="_getListeByPublication">

		<td class="attributes"><code>
			 public static
			<code><a href="class-modele_tag.html">modele_tag</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getListeByPublication">#</a>
		<code><a href="source-class-modele_tag.html#141-169" title="Go to source code">getListeByPublication</a>( <span>integer <var>$publication_id</var> = <span class="php-num">0</span></span>, <span>integer <var>$start</var> = <span class="php-num">0</span></span>, <span>integer <var>$limit</var> = <span class="php-num">0</span></span>, <span>boolean <var>$public</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
<p>renvoi la liste des tag associés à une publication</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi la liste des tag associés à une publication</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$publication_id</var></dt>
					<dd><code>integer</code><br>$publication_id</dd>
					<dt><var>$start</var></dt>
					<dd><code>integer</code><br>$start</dd>
					<dt><var>$limit</var></dt>
					<dd><code>integer</code><br>$limit</dd>
					<dt><var>$public</var></dt>
					<dd><code>boolean</code><br>$public</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-modele_tag.html">modele_tag</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-modele_category.html#methods">modele_category</a></caption>
	<tr>
		<td><code>
			<a href="class-modele_category.html#_addMedia">addMedia()</a>, 
			<a href="class-modele_category.html#_findByPermalien">findByPermalien()</a>, 
			<a href="class-modele_category.html#_getCategory"><span class="deprecated">getCategory()</span></a>, 
			<a href="class-modele_category.html#_getCategoryId"><span class="deprecated">getCategoryId()</span></a>, 
			<a href="class-modele_category.html#_getChild">getChild()</a>, 
			<a href="class-modele_category.html#_getChildListe">getChildListe()</a>, 
			<a href="class-modele_category.html#_getCustomVar">getCustomVar()</a>, 
			<a href="class-modele_category.html#_getCustomVars">getCustomVars()</a>, 
			<a href="class-modele_category.html#_getDatas">getDatas()</a>, 
			<a href="class-modele_category.html#_getDescriptionSEO">getDescriptionSEO()</a>, 
			<a href="class-modele_category.html#_getId">getId()</a>, 
			<a href="class-modele_category.html#_getMedia">getMedia()</a>, 
			<a href="class-modele_category.html#_getMediaId">getMediaId()</a>, 
			<a href="class-modele_category.html#_getMenu">getMenu()</a>, 
			<a href="class-modele_category.html#_getOrder">getOrder()</a>, 
			<a href="class-modele_category.html#_getParent">getParent()</a>, 
			<a href="class-modele_category.html#_getParentId">getParentId()</a>, 
			<a href="class-modele_category.html#_getPermalien">getPermalien()</a>, 
			<a href="class-modele_category.html#_getStatutId">getStatutId()</a>, 
			<a href="class-modele_category.html#_getTable">getTable()</a>, 
			<a href="class-modele_category.html#_getTemplate">getTemplate()</a>, 
			<a href="class-modele_category.html#_getTitle">getTitle()</a>, 
			<a href="class-modele_category.html#_getTitreSEO">getTitreSEO()</a>, 
			<a href="class-modele_category.html#_getTranslatedUrl">getTranslatedUrl()</a>, 
			<a href="class-modele_category.html#_getUrl">getUrl()</a>, 
			<a href="class-modele_category.html#_haveChild">haveChild()</a>, 
			<a href="class-modele_category.html#_haveMedia">haveMedia()</a>, 
			<a href="class-modele_category.html#_haveParent">haveParent()</a>, 
			<a href="class-modele_category.html#_isCategory">isCategory()</a>, 
			<a href="class-modele_category.html#_isPage">isPage()</a>, 
			<a href="class-modele_category.html#_isTag">isTag()</a>, 
			<a href="class-modele_category.html#_removeMedia">removeMedia()</a>, 
			<a href="class-modele_category.html#_save">save()</a>, 
			<a href="class-modele_category.html#_setCustomVar">setCustomVar()</a>, 
			<a href="class-modele_category.html#_setDatas">setDatas()</a>, 
			<a href="class-modele_category.html#_setId">setId()</a>, 
			<a href="class-modele_category.html#_setOrder">setOrder()</a>, 
			<a href="class-modele_category.html#_update">update()</a>
		</code></td>
	</tr>
	</table>
	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-modele.html#methods">modele</a></caption>
	<tr>
		<td><code>
			<a href="class-modele.html#__getOneResult">_getOneResult()</a>, 
			<a href="class-modele.html#__getResults">_getResults()</a>, 
			<a href="class-modele.html#_debug">debug()</a>, 
			<a href="class-modele.html#_formatLink">formatLink()</a>, 
			<a href="class-modele.html#_getType">getType()</a>, 
			<a href="class-modele.html#_inputFormat">inputFormat()</a>, 
			<a href="class-modele.html#_outputFormat">outputFormat()</a>, 
			<a href="class-modele.html#_urlize">urlize()</a>
		</code></td>
	</tr>
	</table>











	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="type" id="$type">
		<td class="attributes"><code>
			public  
			string
		</code></td>

		<td class="name">
				<a href="source-class-modele_tag.html#9" title="Go to source code"><var>$type</var></a>
		</td>
		<td class="value"><code><span class="php-quote">'tag'</span></code></td>
		<td class="description"><div>
			<a href="#$type" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_discriminant" id="$_discriminant">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-modele_tag.html#10" title="Go to source code"><var>$_discriminant</var></a>
		</td>
		<td class="value"><code><span class="php-quote">'tag'</span></code></td>
		<td class="description"><div>
			<a href="#$_discriminant" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Properties inherited from <a href="class-modele_category.html#properties">modele_category</a></caption>
	<tr>
		<td><code>
			<a href="class-modele_category.html#$_table"><var>$_table</var></a>
		</code></td>
	</tr>
	</table>





</div>

	<div id="footer">
		pwe-project API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
